﻿@using Recaptcha.Web.Mvc
@model contactusform.web.ContactViewModel

@{
    ViewBag.Title = "Contact Us";
}

<div id="page-header">

    <div class="row">
        <div class="span12">

            <h2>Contact</h2>

        </div>
    </div>

</div>

<div class="row">
    <div class="span3">

        <div class="icon-box-1">

            <i class="ifc-umbrella"></i>

            <div class="icon-box-content">

                <h3>Get In Touch</h3>

            </div>

        </div>

        <address>
            <strong>Code Village</strong><br>
            3880 Calle el vergel 301<br>
            Santo Domingo, DN 10106<br>
            <br>
            Phone: (214) 227-2670<br>
            Email: office@code.com
        </address>

    </div>

    <div class="span7">

        <h3>Send us a Message</h3>

        <br>

        @using (Html.BeginForm("ContactInfoSubmission", "Contact", FormMethod.Post, new { @class = "fixed", @id = "contact-form" }))
        {
            @Html.ValidationSummary()
            @Html.AntiForgeryToken()

            <fieldset>
                <div id="formstatus"></div>

                <div class="row">
                    <div class="span6">
                        @Html.TextBoxFor(x => x.FirstName, new { placeholder = " First Name(Required)" })

                        @Html.TextBoxFor(x => x.LastName, new { placeholder = " Last Name(Required)" })

                        @Html.TextBoxFor(x => x.Telephone, new { placeholder = " Telephone" })

                        @Html.TextBoxFor(x => x.EmailAddress, new { placeholder = " Email Address(Required)" })

                        @Html.TextBoxFor(x => x.BestTimeToCall, new { placeholder = " Best Time To Call", @class = "datetimepicker" })

                        @Html.Recaptcha(theme: Recaptcha.Web.RecaptchaTheme.Clean)

                        <div class="span3 noLeftMargin marginTop5">
                            <input class="btn btn-green-dark" id="submit" type="submit" name="submit" value="Submit">
                        </div>
                    </div>
                </div>

            </fieldset>
        }

    </div>


</div>
